package org.dydl.controller.system;

import java.io.PrintWriter;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/public")
public class LoginController {

	@SuppressWarnings("null")
	@RequestMapping("/logout/success")
	public PrintWriter logout() {
		PrintWriter out = null;
		out.println("<html>");
		out.println("<script>");
		out.println("window.open ('/public/login.html','_top')");
		out.println("</script>");
		out.println("</html>");
		return out;
	}
	

}
